package data;

/**
 * User: Henry
 * Date: 05/04/2009
 * Time: 23:25:46
 */
public class BooleanValue {
    private boolean success;
    private boolean value;
    private String errMsg;

    public BooleanValue(boolean success, boolean value, String errMsg) {
        this.success = success;
        this.value = value;
        this.errMsg = errMsg;
    }

    public BooleanValue() {
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public boolean isValue() {
        return value;
    }

    public void setValue(boolean value) {
        this.value = value;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
